package cn.jd.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockDto {
    @NotNull(message = "参数不能为空")
    private Long productId;
    @NotNull(message = "参数不能为空")
    private Integer count;
    @NotNull(message = "参数不能为空")
    private Integer status;
}
